package com.yijietong.yiliao.doctor.dao;


import com.yijietong.yiliao.doctor.pojo.User;
import com.yijietong.yiliao.doctor.pojo.UserToken;

public interface IUserDao {
	
	User selectByUserId(String userId);
	User selectByPhone(String phone);
	int insert(User record);
	int updateByPhone(User record);
	int insertToken(UserToken userToken);
	UserToken selectTokenByToken(String token);


	int deleteByUserId(String userId);


    int insertSelective(User record);

    int updateByUserIdSelective(User record);

    int updateByUserId(User record);

	
}